package com.zy.je.common.mybatis.ext.model.enhance;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.zy.je.common.mybatis.ext.model.base.BaseDataEntity;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 非树实体-逻辑删除
 *
 * @author zy
 */
@Data
@NoArgsConstructor
public abstract class LogicDeleteDataEntity<I extends Serializable> extends BaseDataEntity<I> {
	/**
	 * 0-正常
	 */
	@TableLogic(delval = "null")
	private String deleteFlag;
	/**
	 * 删除者
	 */
	private String deleteBy;
	/**
	 * 删除时间
	 */
	private Date deleteTime;
//    /**
//     * 删除操作员
//     */
//	@Deprecated
//    private String deleteUsername;

}
